package com.sunny.utils;

/**
 * @ClassName:
 * @Description:
 * @author: yubao.jin
 * @date: 2018/5/6
 * @version:V1.0
 */
public class PageUtil {
    private Integer pageNum;
    private Integer pageSize;
    private static PageUtil pageUtil;

    private PageUtil() {}

    public static PageUtil getInstance() {
        if (pageUtil == null) {
            pageUtil = new PageUtil();
        }

        return pageUtil;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
